![]() |
ALMaSS
1.0
The Animal, Landscape and Man Simulation System
|
Data structure to hold & output probe data probe data is designed to be used to return the number of objects in a given area or areas in specific element or vegetation types or farms. More...
#include <PopulationManager.h>
Public Member Functions | |
void | FileOutput (int No, int time, int ProbeNo) |
void | FileAppendOutput (int No, int time) |
probe_data () | |
void | SetFile (ofstream *F) |
ofstream * | OpenFile (char *Nme) |
bool | OpenForAppendToFile () |
void | CloseFile () |
~probe_data () | |
Public Attributes | |
bool | m_FileRecord |
unsigned | m_ReportInterval |
unsigned | m_NoAreas |
rectangle | m_Rect [10] |
unsigned | m_NoEleTypes |
unsigned | m_NoVegTypes |
unsigned | m_NoFarms |
TTypesOfVegetation | m_RefVeg [25] |
TTypesOfLandscapeElement | m_RefEle [25] |
unsigned | m_RefFarms [25] |
bool | m_TargetTypes [10] |
Protected Attributes | |
ofstream * | m_MyFile |
int | m_Time |
char | m_MyFileName [255] |
Data structure to hold & output probe data probe data is designed to be used to return the number of objects in a given area or areas in specific element or vegetation types or farms.
probe_data::probe_data | ( | ) |
Constructor for probe_data
probe_data::~probe_data | ( | ) |
Destructor for probe_data
void probe_data::CloseFile | ( | ) |
Referenced by CloseDownSim().
void probe_data::FileAppendOutput | ( | int | No, |
int | time | ||
) |
References g_msg, and MapErrorMsg::Warn().
void probe_data::FileOutput | ( | int | No, |
int | time, | ||
int | ProbeNo | ||
) |
Basic output function of the default probe data file.
This just counts numbers in specified areas
Referenced by Skylark_Population_Manager::ProbeReportPOM().
ofstream * probe_data::OpenFile | ( | char * | Nme | ) |
Opens the default probe data output file
References g_msg, and MapErrorMsg::Warn().
Referenced by GetProbeInput_ini().
|
inline |
References g_msg, m_MyFile, m_MyFileName, MapErrorMsg::Warn(), and WARN_FILE.
void probe_data::SetFile | ( | ofstream * | F | ) |
Sets the filename for the default probe data output
Referenced by GetProbeInput_ini().
bool probe_data::m_FileRecord |
|
protected |
Referenced by OpenForAppendToFile().
|
protected |
Referenced by OpenForAppendToFile().
unsigned probe_data::m_NoAreas |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
unsigned probe_data::m_NoEleTypes |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
unsigned probe_data::m_NoFarms |
unsigned probe_data::m_NoVegTypes |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
rectangle probe_data::m_Rect[10] |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
TTypesOfLandscapeElement probe_data::m_RefEle[25] |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
unsigned probe_data::m_RefFarms[25] |
TTypesOfVegetation probe_data::m_RefVeg[25] |
Referenced by Population_Manager::Probe(), Bembidion_Population_Manager::Probe(), and TSkylarkList< T >::Probe().
unsigned probe_data::m_ReportInterval |
bool probe_data::m_TargetTypes[10] |
|
protected |